﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;

namespace Infrastructure.Interface
{
    public interface IConfigurationManager
    {
        object GetSection(string sectionName);

        string GetAppSetting(string key);

        string GetAppSetting(string key, string defaultValue);

        void WriteAppSetting(string key, string newValue);

        NameValueCollection AppSettings { get; }
    }
}
